package cn.shyouchi.wuguanjia.android.ui.event.meet;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

import cn.shyouchi.wuguanjia.android.ui.event.rank.EventRankEntity;

/**
 * Created by Eenie on 2016/11/18 at 9:23
 * Email: 472279981@qq.com
 * Des:
 */

public class EventMeetEntity {


    /**
     * resultCode : 0
     * resultMessage : [{"id":1,"meetingtime":"11:21:00","meetingplace":"办公室","meetingcontent":"开题，","image":[],"service":{"id":6,"servicesname":"去日本按","starttime":17640,"endtime":32040}},{"id":2,"meetingtime":"11:21:00","meetingplace":"办公室","meetingcontent":"开题，","image":[],"service":{"id":6,"servicesname":"去日本按","starttime":17640,"endtime":32040}},{"id":3,"meetingtime":"11:21:00","meetingplace":"办公室","meetingcontent":"开题，","image":[],"service":{"id":6,"servicesname":"去日本按","starttime":17640,"endtime":32040}},{"id":4,"meetingtime":"06:00:00","meetingplace":"法定是福","meetingcontent":"法定是福","image":[],"service":{"id":2,"servicesname":"日班","starttime":6600,"endtime":24780}},{"id":5,"meetingtime":"06:00:00","meetingplace":"法定是福","meetingcontent":"法定是福","image":[],"service":{"id":2,"servicesname":"日班","starttime":6600,"endtime":24780}},{"id":6,"meetingtime":"06:00:00","meetingplace":"法定是福","meetingcontent":"法定是福","image":[],"service":{"id":2,"servicesname":"日班","starttime":6600,"endtime":24780}}]
     */

    private int resultCode;
    private List<ResultMessageBean> resultMessage;

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public List<ResultMessageBean> getResultMessage() {
        return resultMessage;
    }

    public void setResultMessage(List<ResultMessageBean> resultMessage) {
        this.resultMessage = resultMessage;
    }

    public static class ResultMessageBean implements Parcelable {
        /**
         * id : 1
         * meetingtime : 11:21:00
         * meetingplace : 办公室
         * meetingcontent : 开题，
         * image : []
         * service : {"id":6,"servicesname":"去日本按","starttime":17640,"endtime":32040}
         */

        private int id;
        private String meetingtime;
        private String meetingplace;
        private String meetingcontent;
        private EventRankEntity.ResultMessageBean service;
        private List<String> image;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getMeetingtime() {
            return meetingtime;
        }

        public void setMeetingtime(String meetingtime) {
            this.meetingtime = meetingtime;
        }

        public String getMeetingplace() {
            return meetingplace;
        }

        public void setMeetingplace(String meetingplace) {
            this.meetingplace = meetingplace;
        }

        public String getMeetingcontent() {
            return meetingcontent;
        }

        public void setMeetingcontent(String meetingcontent) {
            this.meetingcontent = meetingcontent;
        }

        public EventRankEntity.ResultMessageBean getService() {
            return service;
        }

        public void setService(EventRankEntity.ResultMessageBean service) {
            this.service = service;
        }

        public List<String> getImage() {
            return image;
        }

        public void setImage(List<String> image) {
            this.image = image;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeInt(this.id);
            dest.writeString(this.meetingtime);
            dest.writeString(this.meetingplace);
            dest.writeString(this.meetingcontent);
            dest.writeParcelable(this.service, flags);
            dest.writeStringList(this.image);
        }

        public ResultMessageBean() {

        }

        protected ResultMessageBean(Parcel in) {
            this.id = in.readInt();
            this.meetingtime = in.readString();
            this.meetingplace = in.readString();
            this.meetingcontent = in.readString();
            this.service = in.readParcelable(EventRankEntity.ResultMessageBean.class.getClassLoader());
            this.image = in.createStringArrayList();
        }

        public static final Parcelable.Creator<ResultMessageBean> CREATOR = new Parcelable.Creator<ResultMessageBean>() {
            @Override
            public ResultMessageBean createFromParcel(Parcel source) {
                return new ResultMessageBean(source);
            }

            @Override
            public ResultMessageBean[] newArray(int size) {
                return new ResultMessageBean[size];
            }
        };




    }



}
